<?
/**
 * <b>ReviewType Class</b>
 * Published 04/11/2010 19:00:38
 *
 * @author Lars Sorhus (lars@saucecode.com.au)
 * @copyright sauceCode Pty Ltd.
 * @version 1.0.693.1.
 * @internal It's not recommended at all to modify this code.
 */
require_once('EbatNs_ComplexType.php');
require_once('UserIDType.php');

class ReviewType extends EbatNs_ComplexType{
 /** Start Properties **/
	// @var dateTime $CreationTime
	public $CreationTime;
	// @var int $Rating
	public $Rating;
	// @var string $Text
	public $Text;
	// @var string $Title
	public $Title;
	// @var anyURI $URL
	public $URL;
	// @var UserIDType $UserID
	public $UserID;
 /** End Properties **/

/**
 *
 * @return dateTime
 */
	function getCreationTime(){
		return $this->CreationTime;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setCreationTime($value){
		$this->CreationTime = $value;
	}


/**
 *
 * @return int
 */
	function getRating(){
		return $this->Rating;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setRating($value){
		$this->Rating = $value;
	}


/**
 *
 * @return string
 */
	function getText(){
		return $this->Text;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setText($value){
		$this->Text = $value;
	}


/**
 *
 * @return string
 */
	function getTitle(){
		return $this->Title;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setTitle($value){
		$this->Title = $value;
	}


/**
 *
 * @return anyURI
 */
	function getURL(){
		return $this->URL;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setURL($value){
		$this->URL = $value;
	}


/**
 *
 * @return UserIDType
 */
	function getUserID(){
		return $this->UserID;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setUserID($value){
		$this->UserID = $value;
	}


/**
 *
 * @constructor __construct
 * @access private
 * @return void
 */
	function __construct(){
		$this->EbatNs_ComplexType("ReviewType","urn:ebay:apis:eBLBaseComponents");
		$this->_elements = array_merge($this->_elements,
			array(
				"CreationTime"=>
					array(
						"required"=>false,
						"type"=>"dateTime",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"Rating"=>
					array(
						"required"=>false,
						"type"=>"int",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"Text"=>
					array(
						"required"=>false,
						"type"=>"string",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"Title"=>
					array(
						"required"=>false,
						"type"=>"string",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"URL"=>
					array(
						"required"=>false,
						"type"=>"anyURI",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"UserID"=>
					array(
						"required"=>false,
						"type"=>"UserIDType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					)
			)
		);
	}
}
?>
